package com.superbytecode.stencil.utils;

import lombok.experimental.UtilityClass;

/**
 * All rights Reserved, Designed By www.super-master.com
 *
 * @ProjectName: code-stencil
 * @Package: com.superbytecode.stencil.utils
 * @ClassName: ExceptionUtil
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2024/10/11 15:09
 * @Version: V1.0
 * @Copyright: 2024 www.super-master.cn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
@UtilityClass
public class ExceptionUtil {

    public void nonSupport(String format, Object... args) {
        String message = String.format(format, args);
        throw new IllegalArgumentException(message);
    }

}